#include "cnu.hpp"

int8_t td[16] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
void dump(int8x16_t a) {
    int8_t td[16];
    vst1q_s8(td,a);
    for(int i=0;i<16;i++) {
        printf("%3d,",(int)td[i]);
    }
    printf("\n");
}
void dump(uint8x16_t a) {
    uint8_t td[16];
    vst1q_u8(td,a);
    for(int i=0;i<16;i++) {
        printf("%3d,",(int)td[i]);
    }
    printf("\n");
}
int main() {
    int8x16_t r = vld1q_s8(td);
    dump(r);
    uint8x16_t ge = vcgeq_s8(r,open5g::ldpc::neon::siteConst[8]);
    dump(ge);
    return 0;
}
